﻿namespace WebQuestionnaire.Core
{
    using System;
    using NHibernate.Validator.Constraints;
    using SharpArch.Core;
    using SharpArch.Core.DomainModel;
    using System.Collections.Generic;


    public class Image : EntityWithTypedId<int>
    {
        [DomainSignature]
        [NotNullNotEmpty(Message = "Povinné pole")]
        public virtual string Alt { set; get; }

        public virtual byte[] ImageFile { set; get; }

        public virtual Questionnaire Questionnaire { set; get; }

        public virtual string ContentType{ set; get;}

    }
}